//
//  CustomSelectView.m
//  Project_Demo
//
//  Created by caoxiaozhu on 2018/7/13.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

#import "CustomSelectView.h"

@interface CustomSelectView ()

@end

@implementation CustomSelectView

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSArray *titleArr = @[@"所在区域",@"网点类型"];
    NSArray *contentArr = @[@[@"所在区域",@"网点类型",@"业务类型",@"所在区域",@"网点类型",@"业务类型",@"所在区域"],@[@"所在区域",@"网点类型",@"业务类型",@"所在区域"]];
    
    XZ_SelectView *sv = [[XZ_SelectView alloc]initWithFrame:CGRectMake(0, 64, kScreenWidth, 45) BackGroundColor:Color_White titleArr:titleArr ContentArr:contentArr];
//    sv.backgroundColor = Color_Red;
    [self.view addSubview:sv];
    
//    UILabel *label = [[UILabel alloc]init];
//    label.text = @"你是风啊我是啥";
//    label.textColor = Color_Red;
//    label.center = self.view.center;
//    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(clickToload)];
//    [label addGestureRecognizer:tap];
//    [label sizeToFit];
//    [self.view addSubview:label];
    
    UIButton *btn = [UIButton createButtonWithFrame:CGRectMake(0, 0, 200, 200) buttonType:kButtonNormal title:@"你是风啊喔时啥" tag:1 target:self action:@selector(clickToload)];
    btn.center = self.view.center;
    [self.view addSubview:btn];
    
}

-(void)clickToload{
//    测试progressView
    NSLog(@"你是风啊，我是沙");
    
//    [XZ_SVProgressView showClearBac];
//    [XZ_SVProgressView showWithBlackAlpha];
//    [XZ_SVProgressView showBlackAlphaContentString:@"请稍后"];
//    [XZ_SVProgressView showWithDescription:@"请稍后" showType:ShowNormal];
//    [XZ_SVProgressView showCustomGIFname:@"timg" ImageSize:CGSizeMake(100, 100) StatusStr:@"努力加载中,请稍后"];
    
   XZ_ServerURLManager *serverURL =  [XZ_ServerURLManager sharedXZ_ServerURLManager];
//    serverURL.

}

@end
